//DefaultAdapterClient.java
package defaultadapter;

/**
 *@author:youtubezou
 *@version:2012-7-16
 */
public class DefaultAdapterClient {
	public static void main(String[] args) {
		showHuman(new Tom());
		System.out.println(">>>>>>>>>>>");
		showHuman(new Tony());
	}

	public static void showHuman(Human man){
		man.eat();
		man.sleep();
		man.play();
		man.learn();
	}
	
}
